home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Interfaces & Libraries / Interfaces / AIncludes / TerminalTools.a < prev    next >
Encoding:
Text File  |  1993-11-30  |  1.7 KB  |  93 lines  |  [TEXT/MPS ]

  1. ;    File:        TerminalTools.a
  2. ;
  3. ;    Copyright:    © 1983-1993 by Apple Computer, Inc.
  4. ;                All rights reserved.
  5. ;
  6. ;    Version:    System 7.1 for ETO #11
  7. ;    Created:    Tuesday, March 30, 1993 18:00
  8. ;
  9. ;___________________________________________________________________________
  10.  
  11.     IF &TYPE('__INCLUDINGTERMINALTOOLS__') = 'UNDEFINED' THEN
  12. __INCLUDINGTERMINALTOOLS__    SET    1
  13.  
  14. tdefType            EQU    'tdef'
  15. tvalType            EQU    'tval'
  16. tsetType            EQU    'tset'
  17. tlocType            EQU    'tloc'
  18. tscrType            EQU    'tscr'
  19. tbndType            EQU    'tbnd'    
  20. tverType            EQU    'vers'
  21.  
  22. ; messages 
  23. tmInitMsg             EQU     0
  24. tmDisposeMsg         EQU     1
  25. tmSuspendMsg        EQU     2
  26. tmResumeMsg            EQU     3
  27. tmMenuMsg            EQU    4
  28. tmEventMsg            EQU    5
  29. tmActivateMsg        EQU     6
  30. tmDeactivateMsg        EQU     7
  31. tmGetErrorStringMsg    EQU 8
  32.  
  33. tmIdleMsg            EQU    50
  34. tmResetMsg            EQU    51
  35.  
  36. tmKeyMsg            EQU     100
  37. tmStreamMsg            EQU     101
  38. tmResizeMsg            EQU     102
  39. tmUpdateMsg            EQU    103
  40. tmClickMsg            EQU    104
  41. tmGetSelectionMsg    EQU    105
  42. tmSetSelectionMsg    EQU    106
  43. tmScrollMsg            EQU    107
  44. tmClearMsg            EQU    108
  45. tmGetLineMsg        EQU    109
  46. tmPaintMsg            EQU    110
  47. tmCursorMsg            EQU    111
  48. tmGetEnvironsMsg    EQU    112
  49. tmDoTermKeyMsg        EQU    113
  50. tmCountTermKeysMsg    EQU    114
  51. tmGetIndTermKeyMsg    EQU    115
  52.  
  53. ;    messages for validate DefProc                
  54.  
  55. tmValidateMsg        EQU    0
  56. tmDefaultMsg        EQU    1
  57.  
  58. ;    messages for Setup DefProc                
  59.  
  60. tmSpreflightMsg        EQU    0
  61. tmSsetupMsg            EQU    1
  62. tmSitemMsg            EQU    2
  63. tmSfilterMsg        EQU    3
  64. tmScleanupMsg        EQU    4
  65.  
  66. ;    messages for scripting defProc             
  67. tmMGetMsg            EQU    0
  68. tmMSetMsg            EQU    1
  69.  
  70. ;    messages for localization defProc        
  71.  
  72. tmL2English            EQU    0
  73. tmL2Intl            EQU    1
  74.  
  75.  
  76. TMSearchBlock        Record    0
  77. theString    ds.l    1
  78. where        ds.l    2
  79. searchType    ds.w    1
  80. callBack    ds.l    1
  81. refnum        ds.w    1
  82. next        ds.l    1
  83.     EndR
  84.     
  85. TMSetupStruct        Record    0
  86. theDialog    ds.l    1
  87. count        ds.w    1
  88. theConfig    ds.l    1
  89. procID        ds.w    1
  90. TMSetupStructSize    EQU    *
  91.     EndR
  92.  
  93.     ENDIF            ; already included